// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.forum-post-content {
  .content-font();
  word-wrap: break-word;
  color: @osu-colour-c1;
  font-size: @font-size--normal;

  @media @desktop {
    font-size: @font-size--title-small;
  }

  &--edit {
    .reset-input();
    resize: vertical;
    width: 100%;
    min-height: 150px;

    @media @desktop {
      min-height: 300px;
    }
  }

  &--reply-preview {
    @media @desktop {
      // arbitrary numbers
      max-height: calc(100vh - 300px);
      min-height: 150px;
      overflow-y: auto;
    }
  }

  &[disabled] {
    opacity: 0.8;
  }
}
